import Vue from 'vue'
import VueRouter from 'vue-router'
import datapreview from '../views/datapreview.vue'


Vue.use(VueRouter)

const routes=[
    {
       path: '/',
       name: 'page',
       component: datapreview
    },
]

const router =new VueRouter({
    base: process.env.BASE_URL,
    // mode: 'history',
    routes
})

export default router